body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 20px;
    text-align: center;
}

h1 {
    color: #333;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

fieldset {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 15px;
}

legend {
    font-weight: bold;
    color: #555;
}

canvas {
    background-color: #ffffff;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: default;
}

button {
    padding: 5px 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#deleteBtn {
    background-color: #dc3545;
}
#deleteBtn:hover {
    background-color: #a71d2a;
}

input[type="text"] {
    padding: 5px;
    margin-right: 5px;
}